package cn.edu.nuaa.aadl2.generatorC.utils;

public enum DataType4C {
	Integer(4,"int"),Double(8,"double"),Float(4,"float"),String(2,"char[STRING_SIZE]"),Character(1,"char"),Boolean(1,"bool"),NULL(1,"bool");
	public int value;
	public String name;
	private long size=1;
	DataType4C(int v,String s){
		value=v;
		name=s;
	}
	public boolean isArray() {
		return size==1?false:true;
	}
	
	public int getSize() {
		return (int) size;
	}
	public void setSize(long size) {
		this.size = size;
	}
	
	
}
